package com.piper.consumer.consumer.fallback;

import com.piper.consumer.consumer.UserConsumer;
import com.piper.model.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class UserFallback implements UserConsumer {

    @Override
    public User test(String name) {
        log.info("fallback " + name);
        return null;
    }
}
